package org.example.partner.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合作伙伴对象 b_partner
 *
 * @author 小孟微信：xiaomengcode
 * @date 2024-04-11
 */
public class Partner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合伙人ID */
    private Long partnerId;

    /** 类型（0企业1个人2客户） */
    @Excel(name = "类型", readConverterExp = "0=企业1个人2客户")
    private String partnerType;

    /** 证件号 */
    @Excel(name = "证件号")
    private String cardNo;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 联系人 */
    @Excel(name = "联系人")
    private String linkName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String linkPhone;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String linkAddress;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志 */
    private String delFlag;

    private String deptId;

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public void setPartnerId(Long partnerId)
    {
        this.partnerId = partnerId;
    }

    public Long getPartnerId()
    {
        return partnerId;
    }
    public void setPartnerType(String partnerType)
    {
        this.partnerType = partnerType;
    }

    public String getPartnerType()
    {
        return partnerType;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setLinkName(String linkName)
    {
        this.linkName = linkName;
    }

    public String getLinkName()
    {
        return linkName;
    }
    public void setLinkPhone(String linkPhone)
    {
        this.linkPhone = linkPhone;
    }

    public String getLinkPhone()
    {
        return linkPhone;
    }
    public void setLinkAddress(String linkAddress)
    {
        this.linkAddress = linkAddress;
    }

    public String getLinkAddress()
    {
        return linkAddress;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("partnerId", getPartnerId())
            .append("partnerType", getPartnerType())
            .append("name", getName())
            .append("linkName", getLinkName())
            .append("linkPhone", getLinkPhone())
            .append("linkAddress", getLinkAddress())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
